
/**
 * @author kjj
 *	
 * Note: 
 * 		this public class should be updated according to definition of 
 * 		SensorUIO and SensorUIO Services!
 */
public class SensorUIOConstant {
	
	/********************uio type id **************/
	/* wireless sensor related UIO types */
	public static final int UIO_TYPE_TELOSB = 0x01;
	public static final int UIO_TYPE_MICAZ = 0x02;

	/* place related UIO types */
	public static final int UIO_TYPE_PLACE_MEETINGROOM = 0x41;

	/* houseware related UIO types */
	public static final int UIO_TYPE_LIGHT = 0x51; //smart light
	
	/* consumer electronics devices */
	public static final int UIO_TYPE_DESKTOPCOMPUTER = 0x61;
	public static final int UIO_TYPE_LAPTOPCOMPUTER = 0x62;
	
	public static final int UIO_TYPE_ANDROIDPHONE = 0x71;
	
	/* transport vehicles */
	public static final int UIO_TYPE_WHEELCHAIR = 0x81;
	
	/* RFID devices */
	public static final int UIO_TYPE_RFIDREADER = 0x91;
	
	/***********************uio actions **************/
	public static final int UIOACTION_SELF = 0x01; //for presenting UIO itself.
	public static final int UIOACTION_QUERY = 0x02;
	public static final int UIOACTION_CALL = 0x03;
	public static final int UIOACTION_RET = 0x04;
	
	/*********************** uio services **************/
	/*query functions */
	public static final int SENSOR_queryServices = 0x00;
	public static final int SENSOR_getDemoSensor = 0x01;

	/* environment related functions */
	public static final int SENSOR_getTemperature = 0x11;
	public static final int SENSOR_getLight = 0x12;
	public static final int SENSOR_getHumidity = 0x13;

	/* movement related functions */
	public static final int SENSOR_getAcceleration = 0x21;
	public static final int SENSOR_getSpeed = 0x22;

	/* smart light control */
	public static final int LIGHT_getBrightness = 0x31;
	public static final int LIGHT_setBrightness = 0x32;
	public static final int BEDROOM_getBrightness = 0x61;

	/* smart wheelchair */
	public static final int WHEELCHAIR_getIfSeated = 0x41;

	/* RFID reader */
	public static final int RFIDREADER_getRFIDTags = 0x51;
	
	private String jsString = "good"; //for testing json.
	public String pubjsString = "public"; // for testing json.

	public String getJsString() {
		return jsString;
	}

	public void setJsString(String jsString) {
		this.jsString = jsString;
	}
	
}
